package cn.virens.web.components.weixin.session;

import me.chanjar.weixin.common.session.WxSessionManager;

public interface VirWxSessionManager extends WxSessionManager {
	/**
	 * 获取session
	 * 
	 * @param  sessionId
	 * @return
	 */
	VirWxSession getStandardSession(String sessionId);

	/**
	 * 获取session
	 * 
	 * @param  sessionId
	 * @param  create
	 * @return
	 */
	VirWxSession getStandardSession(String sessionId, boolean create);

	/**
	 * 更新 session
	 * 
	 * @param session
	 */
	void putStandardSession(VirWxSession session);

	/**
	 * 移除session
	 * 
	 * @param session
	 */
	void removeStandardSession(VirWxSession session);
}
